﻿#ifndef CUSTOMTHREAD_H
#define CUSTOMTHREAD_H

#include <QObject>
#include <QThread>
#include <QWebSocket>
#include <QNetworkReply>
class customThread : public QThread
{
    Q_OBJECT
public:
    customThread();
    void setContent(QString& strrequst,QString& strHead,QJsonObject& );
private:
    virtual void run() override;
private:
//    QWebSocket m_WebSocket;
    QNetworkAccessManager*  m_pHttpMgr       =       nullptr;
    bool m_IsRun;
};

#endif // CUSTOMTHREAD_H
